package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Menu;
import cn.wolfcode.crm.query.impl.MenuQuery;

import java.util.List;

public interface IMenuService {
    void delete(Long id);

    void saveOrUpdate(Menu record);

    Menu get(Long id);

    List<Menu> getAll(MenuQuery query);

    List<Menu> selectRootMenu();

    List<Menu> selectEmployeeMenu();
}
